

package org.smallbun.fast.manage.dict.service;

import org.smallbun.fast.manage.dict.entity.SysDictTypeEntity;
import org.smallbun.fast.manage.dict.vo.SysDictTypeVO;
import org.smallbun.framework.base.BaseService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 系统字典类型 服务类
 *
 * @author SanLi
 * Created by 2689170096@qq.com on 2018/10/2
 */
public interface SysDictTypeService extends BaseService<SysDictTypeEntity> {

    /**
     * 唯一
     *
     * @param dictType dictType
     * @return AjaxResult
     */
    @Override
    Boolean unique(SysDictTypeEntity dictType);

    /**
     * model
     *
     * @param request
     * @return
     */
    SysDictTypeVO model(HttpServletRequest request);

    /**
     * 导出
     *
     * @param vo
     * @param httpServletResponse
     * @throws IOException
     */
    void export(SysDictTypeVO vo, HttpServletResponse httpServletResponse) throws IOException;
}
